Create(Factory,String,Nullable<Int64>) Method
In This Topic
Creates a font file reference object from a local font file.
Syntax
Parameters
- factory
- A reference to a DirectWrite factory Factory
- filePath
- An array of characters that contains the absolute file path for the font file. Subsequent operations on the constructed object may fail if the user provided filePath doesn't correspond to a valid file on the disk.
- lastWriteTime
- The last modified time of the input file path. If the parameter is omitted, the function will access the font file to obtain its last write time. You should specify this value to avoid extra disk access. Subsequent operations on the constructed object may fail if the user provided lastWriteTime doesn't match the file on the disk.
See Also